]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay/baseAppView: Cleanup animate()
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 2 Dec 2020 21:02:46 +0000 (18:02 -0300)
committerMarge Bot <marge-bot@gnome.org>
Wed, 2 Dec 2020 22:43:04 +0000 (22:43 +0000)
commitcd8269185955b3a0ac88c972f8cd0f905fd20ad4
tree16421f3abf9a1c9044cc147a4ec038a276964fba
parentb730875012cabc4cf4ffecb869266b8a76ea64cc
appDisplay/baseAppView: Cleanup animate()

Simplify the opacity dance to simply setting it to the initial value
before animating (0 when animating in, and 255 when animating out),
and to the final value after the spring animation is done (vice-versa).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1518>
js/ui/appDisplay.js